package com.xyh.dao;

import com.xyh.pojo.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TagMapper extends BaseDao<Tag>{

    Tag getTagByName(String name);

    List<Tag> getTagInIds(String[] split);

    List<Tag> getTagTop(Integer size);

    void numAdd(String[] split);
}
